<div class="ui-widget ui-widget-content ui-corner-all" style="width:580px; padding: 5px;">

<p>
Fields with <span class="required">*</span> are required.
</p>

<?php echo CHtml::beginForm(); ?>

<?php echo CHtml::errorSummary($model); ?>

<?php echo $this->renderPartial('_form', array('model'=>$model),true); ?>

<div class="action">
<?php echo CHtml::submitButton($update ? 'Save' : 'Create'); ?>
</div>

<?php echo CHtml::endForm(); ?>
</div>